import java.util.List;

public class Task {
    public static void main(String[] args) {
        List<Item> items = List.of(
                new Item() {{
                    name = "华为手机";
                    quantity = 2;
                    price = 1999.0;
                }},
                new Item() {{
                    name = "金士顿U盘";
                    quantity = 3;
                    price = 30.0;
                }}
        );
        Order order = new Order(
                "2017-01-01",
                new Receiver("张三胖", "北京海淀区五道口18号"),
                items);
        System.out.println(order);
    }
}